<template>
  <div>
    <el-table style="width: 100%" :data="selectArr">
      <el-table-column prop="id" label="编号" width="100"> </el-table-column>
      <el-table-column prop="username" label="用户名"> </el-table-column>
      <el-table-column prop="email" label="邮箱"> </el-table-column>
      <el-table-column label="权限"> </el-table-column>
      <el-table-column label="编辑">
        <template>
          <el-button type="primary">编辑</el-button>
          <el-button type="danger">删除</el-button>
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
      selectArr: [{ id: 1, username: "xue", email: "123" }],
    };
  },
};
</script>